
namespace Himall.Entity
{
    using System;
    using System.Collections.Generic;
    /// <summary>
    /// 礼品信息表 
    /// </summary>
    public partial class GiftInfo:BaseModel
    {
        long _id;
        public new long Id { get{ return _id; } set{ _id=value; base.Id = value; } }
        /// <summary>
        /// 名称
        /// </summary>
        public string GiftName { get; set; }
        /// <summary>
        /// 需要积分
        /// </summary>
        public int NeedIntegral { get; set; }
        /// <summary>
        /// 限制兑换数量 0表示不限兑换数量
        /// </summary>
        public int LimtQuantity { get; set; }
        /// <summary>
        /// 库存数量
        /// </summary>
        public int StockQuantity { get; set; }
        /// <summary>
        /// 兑换结束时间
        /// </summary>
        public System.DateTime EndDate { get; set; }
        /// <summary>
        /// 等级要求 0表示不限定
        /// </summary>
        public int NeedGrade { get; set; }
        /// <summary>
        /// 虚拟销量
        /// </summary>
        public int VirtualSales { get; set; }
        /// <summary>
        /// 实际销量
        /// </summary>
        public int RealSales { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public GiftSalesStatus SalesStatus { get; set; }
        /// <summary>
        /// 图片存放地址
        /// </summary>
        public string ImagePath { get; set; }
        /// <summary>
        /// 顺序 默认100 数字越小越靠前
        /// </summary>
        public int Sequence { get; set; }
        /// <summary>
        /// 礼品价值
        /// </summary>
        public Nullable<decimal> GiftValue { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public Nullable<System.DateTime> AddDate { get; set; }
    }
}
